package edu.sctu.xuping.month05.day20150510;

/**
 * Created by user16 on 2015/5/10.
 */
public class TestSix {
    public static void main(String[] args) {
        TestFour testFour3 = new TestFour();
        testFour3.setAge(9);
        testFour3.setName("李四");
        testFour3.setSex("男");
//        TestFive testFive=new TestFive(testFour);
//        testFive.getImformation();

        TestFour testFour1 = new TestFour();
        testFour1.setAge(34);
        testFour1.setName("王五");
        testFour1.setSex("女");

        TestFour testFour2 = new TestFour();
        testFour2.setAge(45);
        testFour2.setName("张三");
        testFour2.setSex("男");

        TestFour[] testFour;
        testFour = new TestFour[]{testFour3, testFour1, testFour2};
        TestFive testFive = new TestFive(testFour);
        testFive.getImformation();
    }
}
